package ModelLayer;

import java.util.ArrayList;


public class DVD
{
   private int dvdId;
   private String dvdTitle;
   private String dvdArtist;
   private String dvdReleaseDate;
   private ArrayList<Copy> copyList;
   
   public DVD(int id, String title, String artist, String releaseDate)
   {
       dvdId = id;
       dvdTitle = title;
       dvdArtist = artist;
       dvdReleaseDate = releaseDate;
       copyList = new ArrayList<Copy>();
   }

    public void setDvdId(int newId)
    {
        this.dvdId = newId;
    }
    public void setDvdtitle(String newTitle)
    {
        this.dvdTitle = newTitle;
    }
    public void setDvdArtist(String newArtist)
    {
        this.dvdArtist = newArtist;
    }
    public void setDvdReleaseDate(String newReleaseDate)
    {
        this.dvdReleaseDate = newReleaseDate;
    }
    public int getDvdId()
    {
        return dvdId;
    }
    public String getDvdTitle()
    {
        return dvdTitle;
    }
    public String getDvdArtist()
    {
        return dvdArtist;
    }
    public String getDvdReleaseDate()
    {
        return dvdReleaseDate;
    }
}

